﻿namespace Mvc.XForms {
	public class HtmlSettingsBase<THtmlSettings> {
		protected IHtmlControl HtmlControl { get; set; }
		protected THtmlSettings HtmlSettings { get; set; }

		public THtmlSettings CssClass(string cssClass) {
			HtmlControl.CssClass.Add(cssClass);
			return HtmlSettings;
		}
	}
}